
/* v2.0 | 20110126
  http://meyerweb.com/eric/tools/css/reset/ 
  License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 主界面 */
.box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/bg.jpg) no-repeat;
}

/* 搜索区域 */
.main-wrap {
    width: 800px;
    height: 540px;
    margin: 0 auto;
    margin-top: 180px;
    background-color: #fff;
    box-sizing: border-box;
}
.search {
    height: 66px;
    width: 100%;
    background-color: rgb(30, 172, 218);
    display: flex;
    justify-content: space-between;
}
.logo {
    margin:auto 0;
    margin-left: 23px;
}
.search input {
    width: 300px;
    height: 40px; 
    margin:auto 0;
    margin-right: 23px;
    border-radius: 40px;
    background: url(../images/zoom.png) 265px center no-repeat rgba(255, 255, 255, 0.45);
    border: 0px;
    text-indent: 15px;
    outline: none; 
}
/* 播放区域 */
.player-wrap {
    height: 420px;
    background-color: rgb(227, 203, 172);
}

/* 播放列表 */
.music-list {
    float: left;
    height: 420px;
    width: 200px;
    overflow-y: scroll;
}
.music-list::-webkit-scrollbar { width: 0 !important }
.line{
    float: left;
    height: 100%;
}

.music-list .row {
    width: 180px;
    height: 40px;
    /* background-color: #fff; */
    margin:2px;
    margin-left: 10px;
}
.music-list .row:nth-child(2n){
    background-color: rgb(235, 215, 193);
}
.music-list .play {
    float: left;
    margin: 12px 5px;
    height: 18px;
    width: 18px;
    background-image: url(../images/play.png);
    background-size: cover;
    cursor:pointer;
}
.song-name {
    width: 116px;
    float: left;
    height: 26px;
    margin-top: 7px;
    margin-right: 5px;
    /* background-color: pink; */
    line-height: 26px;
    font-size: 12px;
    overflow: hidden;/*超出部分隐藏*/
    white-space: nowrap;/*不换行*/
    text-overflow:ellipsis;/*超出部分文字以...显示*/
}
.mv-play {
    float: right;
    width: 24px;
    height: 20px;
    cursor: pointer;
    margin-top: 12px;
    margin-right:6px;
    background: url("../images/table.png") 0 -48px no-repeat;
    cursor:pointer;
}
/* 播放动画与封面 */
.player {
    float: left;
    width: 397px;
    height: 420px;
    position: relative;
}
/* .pic-wrap {
    width: 255px;
    height: 255px;
    background: url(images/disc.png) no-repeat;
    margin:72.5px;
    z-index: 100;
} */
.player_bar {
    position:absolute;
    left: 155px;
    z-index: 2;
}
.disc {
    position:absolute;
    width: 255px;
    height: 255px;
    top:72.5px;
    left: 72.5px;
    z-index: 1;
}
.cover {
    position:absolute;
    width: 165px;
    height: 165px;
    top:127px;
    left:120px;
    object-fit: cover;
    border-radius: 82.5;
}
  /* 旋转的动画 */
@keyframes Rotate {
    /* 开始 */
    from {
      transform: rotateZ(0);
    }
    /* 完成 */
    to {
      transform: rotateZ(360deg);
    }
}
  /* 旋转的类名 */
.autoRotate {
    animation-name: Rotate;
    /* 使用值 "infinite" 使动画永远持续下去 */
    animation-iteration-count: infinite;
    /* 规定动画已暂停。 */
    animation-play-state: paused;
    /* 规定从开始到结束的速度相同的动画 */
    animation-timing-function: linear;
    /* 定义多少时间完成动画 */
    animation-duration: 5s;
}
  /* 是否正在播放 */
.pic-wrap.playing .disc,
.pic-wrap.playing .cover {
      /* 规定动画已暂停。 */
    animation-play-state: running;
}
  
.player_bar {
    position: absolute;
    top: -10px;
    /* rotate() 方法根据给定的角度顺时针(-25deg)或逆时针旋转元素。 */
    transform: rotate(-25deg);
    /* transform-origin 属性允许您改变被转换元素的位置。
2D 转换元素能够改变元素 x 和 y 轴。 */
    transform-origin: 12px 12px;
    transition: 1s;
}
  /* 播放杆 转回去 */
.pic-wrap.playing .player_bar {
    transform: rotate(0);
}

/* 热门留言 */
.discuss {
    float: left;
    height: 394px;
    overflow-y: scroll;
    position: relative;
}
.discuss::-webkit-scrollbar { width: 0 !important }
.title {
    font-size: 14px;
    font-weight:500;
    /* padding-top: 10px;
    padding-bottom: 10px; */
    padding: 10px 0 10px 10px;
    position: sticky;
    top: 0;
    background-color: rgb(227, 203, 172);
}
/* table, th, td {
    border: 1px solid black;
  } */

.person {
    width:200px;
    word-break:break-all;
}
.portrait{
    vertical-align: top;
}
.portrait img{
    margin:0 10px; 
    width: 36px;
    height: 36px;
    object-fit: cover;
    padding-top: 5px;
    border-radius: 50%;
}

.nickname {
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    text-align: left;
    padding-bottom: 5px;
    padding-top: 5px;
    
}
.message {
    font-size: 12px;
    line-height: 18px;
    padding-right: 12px;
    text-align: left;
    padding-bottom: 10px;
}
.person-discuss {
    font-size: 12px;
    line-height: 18px;
    font-weight:300;
}

/* 播放音乐视频控制区域 */
.footer{
    width:800px ;
    height: 54px;
    box-sizing: border-box;
}
.myaudio{
    width: 800px;
    height: 54px;
    outline: none;
    background-color: #f1f3f4;
}

.video_con video {
    position: fixed;
    width: 800px;
    height: 540px;
    left: 50%;
    top: 47%;
    margin-top: -270px;
    transform: translateX(-50%);
    z-index: 990;
  }
.video_con .mask {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 980;
    background-color: rgba(0, 0, 0, 0.8);
}
